<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{GroupName}{Title}(Lotto)</title>
<link rel="stylesheet" href="../css/mem_head.css?t={ctime}" type="text/css">
<script language="JavaScript">
<!--
var arrSetting = [
			200,      // menu width
			"",   // left_position
			"77",   // top_position    mouse_y_position
			"black",   // font_color
			"white",   // mouseover_font_color
			"white",   // background_color
			"black",   // mouseover_background_color
			"black",   // border_color
			"gray",    // separator_color
			0,         // top_is_permanent
			0,         // top_is_horizontal
			0,         // tree_is_horizontal
			0,         // position_under
			1,         // top_more_images_visible
			1,         // tree_more_images_visible
			"null",    // evaluate_upon_tree_show
			"null",    // evaluate_upon_tree_hide
			,
			true     // display_on_click
			];
//-->
</script>
<script language="JavaScript1.2" type="text/javascript" src="menufunctions.php?t={ctime}"></script>
<!--<script language="JavaScript1.2" type="text/javascript" src="../inc/menusetup.js?t={ctime}"></script>
<script language="JavaScript1.2" type="text/javascript" src="../inc/hierMenus.js?t={ctime}"></script>//-->
<script language="JavaScript1.2" type="text/javascript" src="../inc/HM_Loader.js?t={ctime}"></script>
<script language="JavaScript">
<!--
var intUserNo = 0;
var intSec = 0;
var intTime = 0;
var objTime = new Date();
function ShowTime(){
	var intH = objTime.getHours();
	var intM = objTime.getMinutes();
	var intS = objTime.getSeconds();
	document.getElementById("TimeID").innerHTML = ((intH < 10)?"0":"") + intH + ":" + ((intM < 10)?"0":"") + intM + ":" + ((intS < 10)?"0":"") + intS;
}

function ShowMarquee(){
	document.MarqueeForm.FileTime.value = (document.all)?MarqueeIframe.MTime:document.getElementById("MarqueeIframe").contentWindow.MTime;
	document.getElementById("Marquees").innerHTML = (document.all)?MarqueeIframe.Marquee:document.getElementById("MarqueeIframe").contentWindow.Marquee;
	document.getElementById("UserNo").innerHTML = intUserNo;
	objTime.setTime(intTime * 1000);
	ShowTime();
}

function AddSec(){
	intSec++;
	intTime++;
	objTime.setTime(intTime * 1000);
	ShowTime();
	if(intSec >= 60){
		document.MarqueeForm.submit();
		intSec = 0;
	}
}

function getNewsPage(){
	document.getElementById("MainIFrame").src = "oldnews.php";
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="114" height="44"><img src="../images/control/head_ph11.gif" width="114" height="44"></td>
	<td width="25"><img src="../images/control/head_adb.gif" width="25" height="34"></td>
    <td class="cad"><!--走馬燈元件//--><marquee scrolldelay="180" id="Marquees" onclick="getNewsPage()" onmouseover="this.stop()" onmouseout="this.start()" style="cursor:pointer">welcome~</marquee><!--走馬燈元件//--></td>
    <td width="1%"><img src="../images/control/head_ph12.gif" width="25" height="34"></td>
    <td class="clog" width="130">{Manager}{Account}<!-- ({Name})//--><br>{Group}{GroupName}</td>
    <td class="clog" width="130">
		<table border="0" cellspacing="0" cellpadding="0"><tr>
			<td class="clog">{OnlineUserNo}</td><td><a style="font-weight: 700;color: #FF00FF" id="UserNo">0</a></td>
		</tr>	<tr style="font-size:12px;">
			<td class="clog">{ChinaTime}</td><td><a style="font-weight: 700;color: #FF00FF" id="TimeID">00:00:00</a></td>
		</tr>	</table>    
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="40">
  <tr> 
    <td class="cmic"><!--@ Program @//--><a href="logout.php">{Logout}</a></td>
  </tr>
</table>

<iframe name="bottom" width="100%" height="86%" src="oldnews.php" frameborder="0" marginheight="2" marginwidth="2" id="MainIFrame"></iframe>
<iframe name="MarqueeIframe" width="0" height="0" src="" id="MarqueeIframe"></iframe>
<form action="/k_admin/MarqueeSites.php" name="MarqueeForm" target="MarqueeIframe">
<input type="hidden" name="FileTime" value="">
<input type="hidden" name="sid" value="{sid}">
</form>
<script language="JavaScript">
<!--
document.MarqueeForm.submit();
setInterval("AddSec()", 1000);
//-->
</script>
</body>
</html>
